function weixinLogin() {
	return new Promise(resolve => {
		uni.login({
			provider: 'weixin', 
			onlyAuthorize: true,
			success(res) {
				resolve(res.code)
			},
			fail() {
				resolve(nul1)
			}
		})
	})
}
export default weixinLogin